/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.server.mgrdb.model;

import com.jfinal.plugin.activerecord.IBean;

import com.lambkit.common.model.LambkitModel;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2021-09-06
 * @version 1.0
 * @since 1.0
 */
@SuppressWarnings("serial")
public abstract class MfTableFieldBase<M extends MfTableFieldBase<M>> extends LambkitModel<M> implements IBean {

	public String getTableName() {
		return "mf_table_field";
	}
	
	@Override
	public Class<?> _getPrimaryType() {
		// sqlite 会导致 JFinal 中 getPrimaryType 获取到的都是 String 类型
		return Integer.class;
	}
    
	public java.lang.Integer getFldid() {
		return this.get("fldid");
	}

	public void setFldid(java.lang.Integer fldid) {
		this.set("fldid", fldid);
	}
	public java.lang.Integer getTbid() {
		return this.get("tbid");
	}

	public void setTbid(java.lang.Integer tbid) {
		this.set("tbid", tbid);
	}
	public java.lang.String getName() {
		return this.get("name");
	}

	public void setName(java.lang.String name) {
		this.set("name", name);
	}
	public java.lang.String getTitle() {
		return this.get("title");
	}

	public void setTitle(java.lang.String title) {
		this.set("title", title);
	}
	public java.lang.String getAlias() {
		return this.get("alias");
	}

	public void setAlias(java.lang.String alias) {
		this.set("alias", alias);
	}
	public java.lang.String getDatatype() {
		return this.get("datatype");
	}

	public void setDatatype(java.lang.String datatype) {
		this.set("datatype", datatype);
	}
	public java.lang.String getIskey() {
		return this.get("iskey");
	}

	public void setIskey(java.lang.String iskey) {
		this.set("iskey", iskey);
	}
	public java.lang.String getIsunsigned() {
		return this.get("isunsigned");
	}

	public void setIsunsigned(java.lang.String isunsigned) {
		this.set("isunsigned", isunsigned);
	}
	public java.lang.String getIsnullable() {
		return this.get("isnullable");
	}

	public void setIsnullable(java.lang.String isnullable) {
		this.set("isnullable", isnullable);
	}
	public java.lang.String getIsai() {
		return this.get("isai");
	}

	public void setIsai(java.lang.String isai) {
		this.set("isai", isai);
	}
	public java.lang.String getJtype() {
		return this.get("jtype");
	}

	public void setJtype(java.lang.String jtype) {
		this.set("jtype", jtype);
	}
	public java.lang.String getGeotype() {
		return this.get("geotype");
	}

	public void setGeotype(java.lang.String geotype) {
		this.set("geotype", geotype);
	}
	public java.lang.Integer getStatus() {
		return this.get("status");
	}

	public void setStatus(java.lang.Integer status) {
		this.set("status", status);
	}
	public java.lang.String getIsview() {
		return this.get("isview");
	}

	public void setIsview(java.lang.String isview) {
		this.set("isview", isview);
	}
	public java.lang.String getIsedit() {
		return this.get("isedit");
	}

	public void setIsedit(java.lang.String isedit) {
		this.set("isedit", isedit);
	}
	public java.lang.String getIsselect() {
		return this.get("isselect");
	}

	public void setIsselect(java.lang.String isselect) {
		this.set("isselect", isselect);
	}
	public java.lang.String getIsmustfld() {
		return this.get("ismustfld");
	}

	public void setIsmustfld(java.lang.String ismustfld) {
		this.set("ismustfld", ismustfld);
	}
}
